package request

import (
	"github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
	"time"
)

type DeviceSearch struct {
	CreatedAtRange []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	request.PageInfo
	Device_sn          string `json:"device_sn" form:"device_sn"`
	Device_name        string `json:"device_name" form:"device_name"`
	Device_type        string `json:"device_type" form:"device_type"`
	Device_address     string `json:"device_address" form:"device_address"`
	Device_after_sales string `json:"device_after_sales" form:"device_after_sales"`
	Device_version     string `json:"device_version" form:"device_version"`
	Device_status      string `json:"device_status" form:"device_status"`
	Page               int    `form:"page" json:"page"`         // 页码
	PageSize           int    `form:"pageSize" json:"pageSize"` // 每页数量
}
